<div ng-include="sys_html('common/_header')"></div>
<style>
	.fui-page{background:#f2f2f2}
    .fui-cell-group{width:100%;border-radius: 0.5rem;}
    .fullback-title{color:#999999;font-size:0.7rem;padding:0.75rem 0 0.5rem 0;}
    .fullback-info{}
    .fullback-info p{height:1rem;line-height: 1rem;font-size:0.625rem;color:#333;display: inline-block;padding:0 0.5rem 0 0;}
    .fullback-info p i{border:none;height:0.75rem;width:0.75rem;display: inline-block;background: #ff4753;color:#fff;font-size:0.4rem;line-height: 0.8rem;text-align: center;
        font-style: normal;border-radius: 0.75rem;-webkit-border-radius: 0.75rem;margin-right:0.25rem;}
    .fullback-remark{line-height: 1rem;font-size:0.6rem;color:#666;padding:0.2rem 0;}
	.fui-tab:after {
		height: 0;
	}
.right-living {height:1.2rem;line-height:1.15rem}
.fui-navbar .cartbtn {padding-right:0.3rem;background:#fff;opacity:1}
.fui-navbar .buybtn  {padding-left:0.3rem;background:#fff}
.fee-tag-nav, .fee-tagup-nav, .fee-disabled-nav {border-radius:1rem;height:2rem;line-height:1.95rem;color:#fff;width:100%;font-weight:400;font-size:0.7rem;margin:0.2rem 0;padding:0 0.2rem}
.fee-tagup {background:{{main.syscolor || 'red'}};color:#fff;width:auto;font-weight:400;font-size:0.55rem}
.fee-tag-nav {background:{{main.syscolor || 'red'}}; opacity: 0.68;}
.fee-tagup-nav {background:{{main.syscolor || 'red'}};}
.fee-disabled-nav {background:#bbb;color:#fff;}	
.arrow-top {
  width: 0;   
  height: 0;   
  border-left: 10px solid transparent; 
  border-right: 10px solid transparent;
  border-bottom: 10px solid #000; 
  font-size: 0;  
  line-height: 0;
  margin-left:1.3rem
}
.coutag {padding:0.1rem 0.2rem;background:#ffedef;color:#db2e2a;font-size:0.55rem;border-radius: 0.2rem;}
.fui-tab.fui-tab-danger a.active {
   border-bottom: 0 solid transparent;
}
.fui-tab.fui-tab-danger a.active {
    color: {{main.syscolor || 'red'}};
}
.jylabels {
    display: inline;
    padding: 0.2rem 1.0rem 0.2rem;
    margin: 0 0.5rem 0 0;
    font-size: 0.65rem;
    font-weight: 400;
    line-height: 1.5;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    float: left;
    border-radius: 0.2rem;
}
.fui-list:before {
	border-top: 0 solid #ebebeb;
}
.btn.btn-sm {
    line-height: 1.8;
    margin: 0;
    padding: 0 0.2rem;
    font-size: 0.6rem;
}
</style>
<link rel="stylesheet" href="../core/resource/components/swiper/swiper.min.css">
<div ng-if="pagedata.account" id="jyindex" class='fui-page fui-page-current  page-goods-detail' id='page-goods-detail-index'>
	<div ng-if="main.isapp!=1" ng-click="pagedata.showshareall=true" class="right-living" style="position: fixed;bottom:70%; border: 0 solid #ededed;padding-left:0.4rem;padding-right:0.2rem">
	   <span class="icon jinyunicon icon-fenxiang2" style="font-size:0.65rem;margin:0"></span> 分享
	</div>
	<!-- 找不到客服 -->
    <div ng-if="!pagedata.goods"  class="fui-header">
        <div class="fui-header-left">
            <a class="back" id="btn-back"></a>
        </div>
        <div class="title">
            找不到客服
        </div>
    </div>
<!-- 商品其他开始 -->
<div class="fui-content basic-block pulldown" style="top: 0.0rem;background:#fff">
<div class="jy-content" style="background:#fff;padding-bottom:3rem">
<div ng-if="!pagedata.goods" class='content-empty'>
    <i class='icon jinyunicon icon-search'></i><br/> 客服找不到了~ 您看看别的吧 ~<br/><a href="javascript:;" ng-click="access_json('jy_aikefu/goods.index/')" class='btn btn-default-o external'>到处逛逛</a>
</div>
<i ng-if="pagedata.goods.qrcodeshare > 0" class="icon icon-qrcode" id="alert-click"></i>
<div class="fui-cell-group" style="padding:0.5rem;border-radius:0.5rem;border: 1px solid #eee;background:#f6faf9">
			<div class="fui-cell" style="padding:0">
				<div class="fui-cell-label" style="width:2.3rem;">
					<img style="border-radius: 50%;width:2rem;height:2rem" ng-src="{{tomedia(pagedata.goods.logo) || '../addons/jy_aikefu/resource/images/avatar.png'}}" />
				</div>
				<div class="fui-cell-info" style="font-size:0.7rem;">
					<div class="bold">{{pagedata.goods.title}}</div>
					<div class="subtitle" style="font-size:0.6rem">{{pagedata.goods.api_data.jidesc||pagedata.goods.subtitle}}</div>
					<div style="padding:0.3rem 0;font-size:0.6rem">
						<span class="bold syscolor"><i class="icon icon-shoucang-tianchong" style="font-size:0.6rem"></i> {{pagedata.goods.star || '5.0'}}</span>
						<i class="icon icon-zuoshuangxiexian" style="color:#f2f2f2"></i>
						<span class="gray">咨询量 <span class="bold syscolor">{{pagedata.goods.salenum}}</span></span>
						<i class="icon icon-zuoshuangxiexian" style="color:#f2f2f2"></i>
						<span class="gray">平均响应 <span class="bold syscolor">{{pagedata.goods.api_data.uptime || '1小时'}}</span></span>
					</div>
					<div style="position: relative;width:100%;overflow-y: hidden;">
					<div class="fui-tab-scroll" style="height: auto">
						 <a ng-repeat="t in pagedata.goods.tags" class="btn btn-default btn-sm"> {{t.title}} </a>
					</div>
					</div>
				</div>
			</div>		
</div>
<div ng-if="pagedata.pluginset.ismerch_btn!=1" class="fui-tab fui-tab-danger">
	<a ng-class="{'external active':pagedata.showtype == '0'}" href="javascript:" ng-click="pagedata.showtype='0';">详情</a>
	<a ng-class="{'external active':pagedata.showtype == '4'}" href="javascript:" ng-click="pagedata.showtype='4';">服务须知</a>
</div>
<div ng-if="pagedata.pluginset.ismerch_btn==1" class="fui-tab fui-tab-danger" style="width: 90%;">
	<a ng-class="{'external active':pagedata.showtype == '0'}" href="javascript:" ng-click="pagedata.showtype='0';">详情</a>
	<a ng-class="{'external active':pagedata.showtype == '5'}" href="javascript:" ng-click="pagedata.showtype='5';">信息</a>
	<a ng-class="{'external active':pagedata.showtype == '6'}" href="javascript:" ng-click="pagedata.showtype='6';">报价</a>
	<a ng-class="{'external active':pagedata.showtype == '7'}" href="javascript:" ng-click="pagedata.showtype='7';">课程</a>
	<a ng-class="{'external active':pagedata.showtype == '8'}" href="javascript:" ng-click="pagedata.showtype='8';">订单</a>
	<a ng-class="{'external active':pagedata.showtype == '4'}" href="javascript:" ng-click="pagedata.showtype='4';">须知</a>
</div>
<div ng-if="pagedata.showtype!=4">
<div ng-if="pagedata.showtype==0 && pagedata.pluginset.ismerch_btn==2" ng-include="sys_html('goods/common/_lie')"></div>
<!--轮播图-->
<div ng-if="pagedata.showtype==0" class="carousel-inner" role="listbox" style="max-height:20rem">
	<a href="javascript:;" ng-click="previewImage(pagedata.goods.imagetop);">
		<img class="radius" ng-src="{{tomedia(pagedata.goods.imagetop) || '../core/resource/images/nopic.jpg'}}" style="display: block; width: 100%; height: 100%;">
	</a>
</div>
<div ng-if="pagedata.showtype==5" ng-include="sys_html('goods/common/_sort')"></div>
<div ng-if="pagedata.showtype==6" ng-include="sys_html('goods/common/_baojia')"></div>
<div ng-if="pagedata.showtype==7" ng-include="sys_html('goods/common/_video')"></div>
<div ng-if="pagedata.showtype==8" ng-include="sys_html('goods/common/_order')"></div>
<div ng-if="pagedata.goods" class="fui-cell-group fui-detail-group" style="border-top-left-radius:0;border-top-right-radius:0">
 <!--正常价格-->
    <div class="fui-cell" style='padding-bottom:0;padding-top:0.4rem'>
		<div class="fui-cell-text bold">{{pagedata.goods.title}} <i class="icon icon-yuding syscolor"></i></div>
		<div class="fui-cell-remark lover" style="padding-left:0;margin-top:0.1rem">
			<div class="text">
				<span class="price" style="font-size:0.6rem;line-height:1.4rem">{{pagedata.goods.grouptitle}}</span>
			</div>
		</div>
    </div>
	<div class="fui-cell">
		<div class="fui-cell-text gray">
			{{pagedata.goods.subtitle || '未设置短标题'}}
		</div>
	</div>
	<div class="fui-cell" style="padding:0.5rem">
		<div class="fui-cell-text">
			<div ng-if="pagedata.jy_feedback==1" class="jylabels jylabel-red" href="javascript:" ng-click="access_json('jy_feedback/index/')">投诉建议</div>
		</div>
		<div class="fui-cell-remark noremark" style="margin-left:0;color:red">	
		</div>
	</div>
</div>
<div class="row" style="background:#f2f2f2;padding:0.2rem 1rem">
	{{pagedata.goods.api_data.jidesc}}
</div>
<!--商品详情开始-->
<div class="detail-block" style="position: relative;border-radius: 0.5rem;width:100%;background:#fff;padding-bottom:0">
		<div id="jycontent" class="fui-cell-text" style="padding:0.5rem">
			<span class="bold" style="font-size:0.8rem;margin-right:1rem;line-height:1.6;">详细介绍</span>
			<span class="bold syscolor"><i class="icon icon-shoucang-tianchong"></i> 5.0</span>
			<i class="icon icon-zuoshuangxiexian" style="color:#f2f2f2"></i>
			<span class="gray">咨询数 <span class="bold syscolor">{{pagedata.goods.salenum}}</span></span>
			<i class="icon icon-zuoshuangxiexian" style="color:#f2f2f2"></i>
		</div>
		<!--咨询后显示-->
		<div ng-if="pagedata.goods.isbuynum>0 && pagedata.goods.buyshow==1 && pagedata.goods.buycontent" style="padding:0.4rem 0.5rem;padding-top:0">
			<div class="content-block content-images" ng-bind-html="trust(pagedata.goods.buycontent)"></div>
		</div>
		<div ng-if="pagedata.goods.param.length>0" style="padding:0.4rem 0.5rem;padding-top:0">
			 <div class="fui-cell-group notop" style="background:#f2f2f2;margin-bottom:0.4rem">
				<div ng-repeat="p in pagedata.goods.param" class="fui-cell" style="padding:0.5rem">
					<div class="fui-cell-label md" style="color:#666">{{p.title}}</div>
					<div class="fui-cell-info  md" style="color:#333">{{p.value}}</div>
				</div>
			</div>
		</div>
        <div class="content-block content-images" ng-bind-html="trust(pagedata.goods.content)"></div>
		<div class="content-block content-images" ng-bind-html="trust(pagedata.goods.footerinfo)"></div>
		<div class="fui-cell-text" style="padding:0.5rem">
			<span class="bold" style="font-size:0.8rem;margin-right:1rem;line-height:1.6;">咨询方向</span>
		</div>
		<div ng-if="pagedata.goods.zixuns.length>0" style="padding-top:0">
			 <div class="fui-cell-group notop" style="margin-bottom:0.4rem">
				<div ng-repeat="p in pagedata.goods.zixuns" class="fui-cell" style="padding:0.5rem">
					<div class="fui-cell-label" style="width:2.6rem"><img style="padding:0.5rem;border: 1px solid #ededed;border-radius:100%;width:2rem;height:2rem" ng-src="{{tomedia(p.icon) || '../core/resource/images/diy/icon_audio_reading_3.png'}}"/></div>
					<div class="fui-cell-info">
					<div class="text bold">{{p.title}}</div>
					<div class="subtitle">{{p.desc}}</div>
					</div>
				</div>
			</div>
		</div>
		<div class="fui-cell-text" style="padding:0.5rem">
			<span class="bold" style="font-size:0.8rem;margin-right:1rem;line-height:1.6;">教育及培训经历</span>
		</div>
		<div ng-if="pagedata.goods.zixuns.length>0" class="order-express-page" style="padding-top:0">
			 <div class="fui-list-group express-list" style="margin-bottom:0.4rem;margin-top:0">
				<div ng-repeat="p in pagedata.goods.peixuns" class="fui-list {{$index==0?'current':''}}">
					<div class="fui-list-inner">
					<div class="text step">{{p.title}}</div>
					<div ng-if="p.time" class="gray">{{p.time}}</div>
					</div>
				</div>
			</div>
		</div>
</div>
<div ng-if="pagedata.item.isyue==1" ng-include="sys_html('shop/_zxout_time')"></div>
<div class="row" style="background:#f2f2f2;padding:0.2rem 1rem">
	<div class="fui-tab-scroll" style="">
		<div class="item on bold" style="padding:0;height:2rem;line-height:2rem;color:#333">评价</div>
		<div class="item" style="line-height:2rem;color:{{main.syscolor || 'red'}}">{{pagedata.commentsnum||0}}次</div>
	</div>
</div>
<div ng-include="sys_html('goods/comments')"></div>
<div ng-if="!pagedata.loading && (!pagedata.list || pagedata.list.length<1)" class='content-empty' style="margin-top:0">
	<i class='icon icon-chakanpingjia' style="font-size:1.5rem"></i><br/>暂时没有评价
</div>
</div>
<div ng-if="pagedata.showtype==4">
	<!--服务须知-->
	<div class="detail-block" style="position: relative;border-radius: 0.5rem;width:100%;background:#fff;padding-bottom:0">
        <div class="content-block content-images" ng-bind-html="trust(pagedata.xieyi.content)"></div>
	</div>
</div>
</div>
</div>
<!-- 下面是弹窗系列 -->
<!--分享弹层-->
<div id="showsharecover" class="modal fade" tabindex="-1" style="z-index:99999;display:none;">
<div class="modal-dialog" style="width:100%;left:0;top:0">
	<div id="cover">
		<div class='fui-mask-m visible'></div>
		<div class='arrow'></div>
		<div ng-if="!pagedata.goods.share_title" class='content'>请点击右上角<br/>通过【发送给朋友】<br/>邀请好友咨询</div>
		<div ng-if="pagedata.goods.share_title" class='content'>请点击右上角<br/>通过【发送给朋友】<br/>邀请好友咨询{{pagedata.goods.share_title}}</div>
	</div>
</div>
</div>
</div>
<!--底部按钮-->
<div class="fui-navbar bottom-buttons">
	<a ng-if="pagedata.goods.fee_dui>0 && pagedata.goods.fee_type==2" class="nav-item external">
        <span class="syscolor">￥{{pagedata.goods.fee_dui}}</span>
        <span class="label">每次对话</span>
    </a>
	<a class="nav-item external" href="javascript:" ng-click="access_json(main.menus[0].action || 'jy_aikefu/index/')">
        <span class="icon jinyunicon icon-dianpu"></span>
        <span class="label" >首页</span>
    </a>
	<a ng-if="pagedata.goods.mobileprice>0 && pagedata.goods.isprice==1" class="nav-item external" href="javascript:" ng-click="pagedata.check_buy(1);">
        <span class="icon icon-phone"></span>
        <span class="label">电话咨询</span>
    </a>
	<a ng-if="pagedata.goods.fee_type!=2 || pagedata.goods.fee_dui<=0" class="nav-item btn buybtn" href="javascript:" ng-click="access_json('jy_aikefu/tcplog//workerid='+pagedata.goods.id)">
		<div class="fee-tagup-nav">
			立即咨询
		</div>
	</a>
	<a ng-if="pagedata.goods.fee_dui>0 && pagedata.goods.fee_type==2" class="nav-item btn buybtn" href="javascript:" ng-click="pagedata.check_buy(0)">
		<div class="fee-tagup-nav">
			付费咨询
		</div>
	</a>
</div>
<!--分享二维码弹层-->
<div id="showsharecode" class="modal fade" tabindex="-1" style="z-index:99999;display:none;">
<div class="modal-dialog" style="width:100%;left:0;bottom:0">
<div class="modal-bottom">
    <div ng-if="pagedata.commission_data.codeShare==1" class="alert-content">
        <div class="alert" style="padding:0;">
            <i class="alert-close alert-close1 icon icon-close"></i>
            <div class="fui-list alert-header" style="-webkit-border-radius: 0.3rem;border-radius: 0.3rem;padding:0;">
                <img ng-src="{{tomedia(pagedata.goodscode)}}" width="100%" height="100%" class="alert-goods-img" alt="">
            </div>
        </div>
    </div>

    <div ng-if="pagedata.commission_data.codeShare==2" class="alert-content">
        <div class="alert2">
            <div class="fui-list alert-header" style="-webkit-border-radius: 0.3rem;border-radius: 0.3rem;padding:0;">
                <img ng-src="{{tomedia(pagedata.goodscode)}}" width="100%" height="100%" class="alert-goods-img" alt="">
            </div>
        </div>
    </div>

    <div ng-if="pagedata.commission_data.codeShare!=1 && pagedata.commission_data.codeShare!=2" class="alert-content">
        <div class="alert" style="padding:0;background: #f5f4f9;border:none;-webkit-border-radius: 0.3rem;border-radius: 0.3rem;top:2rem;">
            <i class="alert-close alert-close1 icon icon-close" style="right: -0.7rem;top: -0.8rem;background: #e1040d;border:none;z-index:10"></i>
            <div class="fui-list alert-header" style="-webkit-border-radius: 0.3rem;border-radius: 0.3rem;padding:0;">
                <img ng-src="{{tomedia(pagedata.goodscode)}}" class="alert-goods-img" alt="">
            </div>

        </div>
    </div>
</div>
</div>
</div>
<div ng-if="pagedata.showshareall" class="popup">
	<div class="popup-body">
		<div class="popup-bottom" style="min-height:auto;padding-bottom:3rem">
			<div class="fui-cell-group">
				<div class="fui-cell">
					<div class="fui-cell-text c">
						<div class="text bold" onclick="$('#showsharecover').modal();" style="font-size:0.8rem">发送给朋友</div>
					</div>
				</div>
				<div ng-if="pagedata.goods.isposter==1" class="fui-cell">
					<div class="fui-cell-text c">
						<div class="text bold" ng-click="pagedata.showposter=true;pagedata.upposter()" style="font-size:0.8rem">生成卡片</div>
					</div>
				</div>
			</div>
			<div class="fui-navbar"  style="padding:0.35rem 1rem">
				<a href="javascript:;" ng-click="pagedata.showshareall=false;pagedata.showposter=false" class="btn btn-danger btn-banf" style="margin:0;width:100%">取消</a>
			</div>
		</div>
		<div ng-if="pagedata.showposter" class="popup-center" style="width:70%;top:42%">
			<div class="fui-content c" style="height:auto;border: 1px solid #fdd8d6;border-radius:0.3rem;padding-bottom:0;background:#fff">
				<img ng-src="{{pagedata.posterimg || '../core/resource/images/nopic.jpg'}}" style="border-radius:0.3rem;width:100%;height:auto"/>
				<a class="btn btn-sm btn-danger-o external" style="line-height: 1.1rem;border-radius:1rem;margin:0.2rem;font-size:0.65rem;">长按保存卡片</a>
			</div>
		</div>
	</div>
</div>
<div id="attention" ng-if="pagedata.showqrcode==1">
	<div class="attention-alert" style="width:80%;left:10%">
					<div class="attention-content" style="padding: 1.5rem 0;background:none;height:auto">
						<div class="col-jy-1" style="text-align: center;">
							<img ng-src="{{tomedia(pagedata.kefuqr) || '../core/resource/images/nopic.jpg'}}" alt=""style="width: 100%">
						</div>
						<p >长按指纹识别图中二维码</p>
					</div>
					<i class="icon icon-cuowu" ng-click="pagedata.showqrcode=0" style="font-size:1.5rem;color:#fff;position: absolute;top:105%;left:45%"></i>
	</div>
</div>
<style type="text/css">
    .share-text1{text-align: center;padding:0.5rem 0.5rem 0;font-size:0.6rem;color:#666;line-height: 1rem;}
    .share-text2{text-align: center;padding:0 0.5rem 0.5rem;font-size:0.6rem;color:#666;line-height: 1rem;}
</style>
<div ng-include="sys_html('goods/_subpicker')"></div>
<script type="text/javascript">
scope.pagedata.nodata_pic='../core/resource/images/goods_nodata.jpg';
//滚动加载
scope.pagedata.scroll_bottom=function(){
	if(scope.pagedata.showtype==0){
		if(scope.pagedata.scroll_bottomtimes){
			scope.pagedata.scroll_bottomtimes++
		}else{
			scope.pagedata.scroll_bottomtimes=1;
		}
		if(scope.pagedata.scroll_bottomtimes==1){
			scope.pagedata.showupto = 1
		}
	}
}
scope.pagedata.goDetail=function(id){
	scope.pagedata.showtype = 0;
	scope.pagedata.showpingjia=0;
	if(id=='jycontent'){
		scope.pagedata.showtype = 2;
	}
	if(id=='jytuijie'){
		scope.pagedata.showtype = 3;
	}
	if(id=='jypingjia'){
		scope.pagedata.showtype = 1;
		scope.pagedata.showpingjia=1;
		id='jyindex';
	}
	scope.$evalAsync();
	setTimeout(function(){
		var element = document.getElementById(id);
		element.scrollIntoView();
		element.scrollIntoView(false);
		element.scrollIntoView({block: "start"});
		element.scrollIntoView({behavior: "smooth", block: "start", inline: "nearest"});
	},200);
}
scope.pagedata.check_buy=function(type){
	var goodsid=scope.pagedata.post.goodsid
	var num=scope.pagedata.post.num
	scope.post_json('jy_aikefu/goods.detail/check_buy/isresurl=1&type='+type+'&goodsid='+goodsid,scope.pagedata.post,function(result){
		if(result.order_id){
			scope.pagedata.order_id=result.order_id;
			scope.$evalAsync();
			scope.tool.pay(result.pay_id,function(res){
					if(res.type=='success'){
						scope.message('支付成功！','success','jy_aikefu/mytcp/');
					}else{
						scope.message('支付失败！','success','jy_aikefu/mytcp/');
					}
			},'','','jy_aikefu/mytcp/','jy_aikefu/mytcp/');
		}
	});
}
</script>
<script>
scope.pagedata.issocketmsg=false;
scope.pagedata.tanmuspage=0;
scope.pagedata.isa2=true;
scope.pagedata.isno_coupontop=1;
scope.tool.get_list('jy_aikefu/goods.detail/getcomments/goodsid='+scope.pagedata.goods.id,true);
scope.pagedata.scroll_bottom=function(){
	scope.tool.get_list('jy_aikefu/goods.detail/getcomments/goodsid='+scope.pagedata.goods.id+'&type='+scope.pagedata.comments_type);
}
scope.pagedata.itemtokefu=function(){
	if(scope.pagedata.pluginset.h5appkf==1 && window.config.fromh5wxapp==1 && window.config.container!='ttapp' && window.config.container!='baiduapp'){
		//H5小程序环境下
		var logo=scope.tomedia(scope.pagedata.account.logo);
		var title=scope.pagedata.account.title
		wx.miniProgram.navigateTo({
			url: '/pages/kefu/index?logo='+logo+'&title='+title
		})
	}else{
		if(scope.pagedata.pluginset.nokefu2!=1  && (!scope.pagedata.pluginset.kefutype_h5 || scope.pagedata.pluginset.kefutype_h5==0)){
			scope.access_json(scope.pagedata.pluginset.kflink);
		}else if(scope.pagedata.pluginset.nokefu2!=1  && scope.pagedata.pluginset.kefutype_h5==1){
			scope.pagedata.kefuqr=scope.pagedata.pluginset.kf_accountimg;
			scope.pagedata.showqrcode=1;
		}else if(scope.pagedata.pluginset.nokefu2!=1  && scope.pagedata.pluginset.kefutype_h5==2){
			scope.access_json(scope.pagedata.pluginset.appkflink)
		}else if(scope.pagedata.pluginset.nokefu2!=1  && scope.pagedata.pluginset.kefutype_h5==3){
			scope.access_json(scope.pagedata.pluginset.workerh5url);
		}else if(scope.pagedata.pluginset.nokefu2!=1  && scope.pagedata.pluginset.kefutype_h5==4){
			scope.pagedata.kefuqr=scope.pagedata.pluginset.guwenkfewm;
			scope.pagedata.showqrcode=1;
		}
		scope.$evalAsync();
	}
}
scope.pagedata.upposter=function(){
	scope.get('jy_aikefu/goods.detail/upposter/id='+scope.pagedata.goods.id,function(res){
		console.log(res)
		scope.pagedata.posterimg=res.posterimg;
		scope.$evalAsync();
	});
}
</script>
